﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Everynet;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using System.Linq.Expressions;
using System.Web.Mvc.Html;

namespace Everynet.Models
{
    public class ExtrasModel
    {
        public Int64 ID { get; set; }
        public int? ExtrasID { get; set; }
        public string ExtrasName { get; set; }
       
        public IEnumerable<ExtrasModel> listExtras { get; set; }
        public IEnumerable<subExtrasModel> listSubExtras { get; set; }

        public int SubExtrasID { get; set; }
        public string SubExtrasName { get; set; }
        public string SubExtrasDetail { get; set; }
        public decimal? SubExtrasPrice { get; set; }
        public Boolean checkExtras { get; set; }
        public string selectedExtras { get; set; }
    }

    public class subExtrasModel
    {
        public int SubExtrasID { get; set; }
        public string SubExtrasName { get; set; }
        public string SubExtrasDetail { get; set; }
        public decimal? SubExtrasPrice { get; set; }
        public int? ExtrasID { get; set; }
        public Boolean checkExtras { get; set; }
        public string selectedExtras { get; set; }
        public Boolean? VisiblePublic { get; set; }
    }
}